package com.appleyk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>越努力，越幸运</p>
 *
 * @author appleyk
 * @version V.0.1.1
 * @blob https://blog.csdn.net/appleyk
 * @github https://github.com/kobeyk
 * @date created on  16:09 2021/9/16
 */
@Controller
public class IndexController {
    @GetMapping("/{path}")
    private String helloWorld(@PathVariable("path") String path){
        return path+"/index";
    }
}
